package training.oop;

public class Student {
	
	private String name;
	private String rollNo;
	
	public String dummy ="some dummy value";
	
	public static final int anotherDummy= 1000;
	
	public static String PRIMARY_SUBJECT ="English";
	

	static {
		System.out.println("Hello, I will be printed without anyone calling me");
	}
	
	public static void sayHello(){
		System.out.println("Hello World in a static way ");
	}
	
	public void sayHello(String name){
		System.out.println("Hello : " + name);
	}
	
	
	public Student(String name, String rollNo){
		this.name = name;
		this.rollNo=rollNo;
	}
	
	public Student(Object...params){
		
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRollNo() {
		return rollNo;
	}
	public void setRollNo(String rollNo) {
		this.rollNo = rollNo;
	}
	
	

}
